<?php
namespace common\logic;

use yii;

class CacheKey {
    public static function boatPrice($boatId) {
        return sprintf('price_boat_%s', $boatId);
    }

    public static function boatPriceReverse($key) {
        return sscanf($key, 'price_boat_%s');
    }
}
